package com.examination.controller.admin;

import com.examination.bean.User;
import com.examination.controller.BaseServletController;
import com.examination.service.IUserService;
import com.examination.service.impl.UserService;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;

@WebServlet(name = "/AdminServlet",urlPatterns = "/AdminServlet")
public class AdminServlet extends BaseServletController {
    private IUserService userService = new UserService();

   public String m1(HttpServletRequest request, HttpServletResponse response){
       System.out.println("AdminServlet m1");
        return "r1";
   }
    public String m2(HttpServletRequest request, HttpServletResponse response){
        System.out.println("AdminServlet m2");
        return "r1";
    }
}
